package calao.dba.client;

import calao.client.MissingPermissionException;
import calao.client.NotConnectedException;

import com.google.gwt.user.client.rpc.RemoteService;

public interface DataAdminService
extends RemoteService
{
	
	String[] listTables()
	throws NotConnectedException, MissingPermissionException;
	
	long countRows(String table)
	throws NotConnectedException, MissingPermissionException;
	
	String[][] getTableRows(String table, int offset, int count)
	throws NotConnectedException, MissingPermissionException;

}
